﻿using System;
using System.Collections.Generic;
using System.Linq;
using Ongoal.Quotation.Common;
using SqlSugar;
namespace Ongoal.Quotation.Service.Model
{
    /// <summary>
    /// 用户信息实体类
    ///</summary>
    [SugarTable("T_Sys_User")]
    public class T_Sys_UserInfo: ModelBase
    {
        /// <summary>
        /// 人员编码(工号) 
        ///</summary>
         [SugarColumn(ColumnName="UserCode"    )]
         public string? UserCode { get; set; }
        /// <summary>
        /// 登录用户名 
        ///</summary>
         [SugarColumn(ColumnName="UserName"    )]
         public string? UserName { get; set; }
        /// <summary>
        /// 显示名称(姓名) 
        ///</summary>
         [SugarColumn(ColumnName="DisplayName"    )]
         public string? DisplayName { get; set; }
        /// <summary>
        /// 身份证号码 
        ///</summary>
         [SugarColumn(ColumnName="IDCardNO"    )]
         public string? IDCardNO { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="AvatarUrl"    )]
         public string? AvatarUrl { get; set; }
        /// <summary>
        /// 性别 
        ///</summary>
         [SugarColumn(ColumnName="Sex"    )]
         public int Sex { get; set; }
        /// <summary>
        /// 用户类型(默认普通用户) 
        ///</summary>
         [SugarColumn(ColumnName="UserType"    )]
         public int UserType { get; set; }
        /// <summary>
        /// 手机号码 
        ///</summary>
         [SugarColumn(ColumnName="Mobile"    )]
         public string? Mobile { get; set; }
        /// <summary>
        /// 邮件 
        ///</summary>
         [SugarColumn(ColumnName="Email"    )]
         public string? Email { get; set; }
        /// <summary>
        /// QQ号码 
        ///</summary>
         [SugarColumn(ColumnName="QQ"    )]
         public string? QQ { get; set; }
        /// <summary>
        /// 出生日期 
        ///</summary>
         [SugarColumn(ColumnName="Birthday"    )]
         public DateTime? Birthday { get; set; }
        /// <summary>
        /// 登录密码 
        ///</summary>
         [SugarColumn(ColumnName="Password"    )]
         public string? Password { get; set; }
        /// <summary>
        /// 入职时间 
        ///</summary>
         [SugarColumn(ColumnName="OnboardingDate"    )]
         public DateTime? OnboardingDate { get; set; }
        /// <summary>
        /// 是否可以登录(默认不可以) 
        ///</summary>
         [SugarColumn(ColumnName="LoginEnable"    )]
         public int LoginEnable { get; set; }
        /// <summary>
        /// 最后登录时间 
        ///</summary>
         [SugarColumn(ColumnName="LastLoginTime"    )]
         public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 登录次数 
        ///</summary>
         [SugarColumn(ColumnName="LoginTimes"    )]
         public int LoginTimes { get; set; }
        /// <summary>
        /// 是否已经锁定 
        ///</summary>
         [SugarColumn(ColumnName="IsLocked"    )]
         public int IsLocked { get; set; }
        /// <summary>
        /// 锁定时间 
        ///</summary>
         [SugarColumn(ColumnName="LockTime"    )]
         public DateTime? LockTime { get; set; }
        /// <summary>
        /// 租户ID 
        ///</summary>
         [SugarColumn(ColumnName="TenantID"    )]
         public string? TenantID { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="Remark"    )]
         public string? Remark { get; set; }
    }
}
